iShell Help
Tribeworks > iShell > Commands >
  Drag
   
The Drag command changes the position of an element.

Options

  • Target Argument: The element to be dragged.
  • Action
    • Mouse: Drags the element relative to the mouse position as it is dragged around. This option only works in a Mouse Moved event.
      • Constraint Argument: An element that defines the constraints of the mouse values by its size and position.
    • By: Drags the element by a relative number of pixels.
    • To: Drags the element to an absolute pixel position.
      • X Argument: The number of horizontal pixels.
      • Y Argument: The number of vertical pixels.